---
title: Resolve a Coverage B category description
summary: Look up a cached Coverage B category description.
status: draft
owner: SAIF Documentation
last_reviewed: 2026-08-21
library: SAIF.Business.Tasks.Claim
reference_type: embedded
operation_id: OP-14
trigger: CategoryDescr / GetCategoryDescr access
---

# Resolve a Coverage B category description

Resolves the human-readable category description for a Coverage B task, caching the code-table lookup at the collection level to avoid a per-row read.

| Field | Value |
| --- | --- |
| **Operation ID** | OP-14 |
| **Trigger** | `CategoryDescr` / `GetCategoryDescr` access |
| **Inputs** | Category code |
| **Outputs** | Description string |
| **Primary components** | `clsCoverageBTask.CategoryDescr`, `clsCoverageBTaskCollection.GetCategoryDescr` |
| **Entry point** | `SAIF.Business.Tasks.Claim/clsCoverageBTask.vb`, `SAIF.Business.Tasks.Claim/clsCoverageBTaskCollection.vb` |

## Steps

1. If the task is a child of a collection, delegate to `Parent.GetCategoryDescr(CategoryCode)`, which lazily loads and caches one `clsTaskCategoryCodeCollection` for source `COVB` — one code-table read per collection rather than per row.
2. If the task is standalone, load the category collection directly and return the matching description.

## Process flow

```mermaid
flowchart TD
	Start([CategoryDescr accessed]) --> Check{Task is child of collection?}
	Check -->|Yes| Cached[Parent.GetCategoryDescr<br>lazy-cached lookup]
	Check -->|No| Direct["Load category collection<br>directly"]
	Cached --> EndOk([Description returned])
	Direct --> EndOk
```

## Failure and edge-case behavior
- Standalone tasks pay the cost of a fresh code-table load per call; collection-owned tasks share one cached load.*

## Related documentation
- [Operations and processes](../operations-processes.md)
- [Business rules](../business-rules.md)
- [SQL catalog](../sql/index.md)
- [Database tables](../database-tables.md)

## Sources
- SAIF.Business.Tasks.Claim/clsCoverageBTask.vb
- SAIF.Business.Tasks.Claim/clsCoverageBTaskCollection.vb
